// IOFuncExample.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream.h>

int main( )
{
	const int SIZE=80;
	char buffer[SIZE]="Enter a sentence:";
	cout<<"Enter a sentence:"<<endl;
	cin.read(buffer,20);
	cout<<endl<<"The sentence entered was:"<<endl;
	cout.write(buffer,cin.gcount( ));
	cout<<endl;
	return 0;
}


